package com.dcm.oss.service;

import com.dcm.oss.dto.OssCallbackResult;
import com.dcm.oss.dto.OssPolicyResult;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;

/**
 * [oos服务接口]
 *
 * @author : [pengrongsheng]
 * @createTime : [2021/3/28]
 */
public interface OssService {
    /**
     * 上传图片到OSS服务器
     * @return oss服务器图片访问url
     * @param multipartFile
     * @return
     */
    String putPic(MultipartFile multipartFile);

    /**
     * checkpoint file 断点续传
     * @param uploadFile
     * @return
     */
    String uploadFile(MultipartFile uploadFile);


}
